This procedure installs the smartpqi driver while installing Debian Server 8.8 64bit

1. Copy "smartpqi.ko" to a floppy disk or USB flash.

2. Boot system from the Debian DVD.

3. Type "e" to edit the boot entry

4. Append the "modprobe.blacklist=aacraid" after the "---" on the line starting with linux.

5. Press CTRL+X to boot installation

6. Continue with installation until "Configure the network"

7. Press CTRL+ALT+F2 to switch to console.

8. Insert your USB key or floopy disk

9. fdisk -l   (scan for device, assume if USB drive is assigned to /dev/sda1)

10. Type the following commands:
   # mkdir /mnt  /SMARTPQI
   # mount -t vfat /dev/sda1 /mnt
   # cp -R /mnt/* /SMARTPQI
   # umount /mnt

11. *** Remove the USB drive now ***

12. Copy driver to /lib/modules and load driver module:
   # mkdir -p /lib/modules/3.16.0-4-amd64/kernel/drivers/scsi/smartpqi 
   # cp -f /SMARTPQI/smartpqi.ko /lib/modules/3.16.0-4-amd64/kernel/drivers/scsi/smartpqi/smartpqi.ko
   # depmod -a `uname -r`
   # modprobe smartpqi

13. Press CTRL+ALT+F5 to return to installer. Continue the installation as usual. !!! READ STEP 14 NOW !!!

14. When prompted to reboot the system , press CTRL+ALT+F2 to switch to console.

15. Type the following commands to complete the driver installation:
   # mkdir -p /target/lib/modules/3.16.0-4-amd64/kernel/drivers/scsi/smartpqi
   # cp -f /SMARTPQI/smartpqi.ko /target/lib/modules/3.16.0-4-amd64/kernel/drivers/scsi/smartpqi/smartpqi.ko
   # chroot /target
   # /sbin/depmod -a `uname -r`
   # echo "blacklist aacraid" > /etc/modprobe.d/aacraid-blacklist.conf
   # update-initramfs -u -v
   # exit

16. Press CTRL+ALT+F5 to return to the installer. 

17. Reboot to complete the installation.
